﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: ComplainLogEntity.cs
// 修改时间：2020-9-8 10:40:00
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：ComplainLog 的实体类.
	/// </summary>
	[Table("ComplainLog")]
	public partial class ComplainLogEntity
	{
		#region Properties
		private int? _itemID = 0;
		/// <summary>
		/// 明细ID(主键)
		/// </summary>
		[Column("ItemID",TypeName="int")]
		[Key]
		public int? ItemID
		{
			get {return _itemID;}
			set {_itemID = value;}
		}
		
		private int? _clientID = 0;
		/// <summary>
		/// 用户ID
		/// </summary>
		[Column("ClientID",TypeName="int")]
		public int? ClientID
		{
			get {return _clientID;}
			set {_clientID = value;}
		}
		
		private int? _contacterID = 0;
		/// <summary>
		/// 联系人ID
		/// </summary>
		[Column("ContacterID",TypeName="int")]
		public int? ContacterID
		{
			get {return _contacterID;}
			set {_contacterID = value;}
		}
		
		private int? _complainType = 0;
		/// <summary>
		/// 投诉类型
		/// </summary>
		[Column("ComplainType",TypeName="int")]
		public int? ComplainType
		{
			get {return _complainType;}
			set {_complainType = value;}
		}
		
		private int? _complainMode = 0;
		/// <summary>
		/// 投诉方式
		/// </summary>
		[Column("ComplainMode",TypeName="int")]
		public int? ComplainMode
		{
			get {return _complainMode;}
			set {_complainMode = value;}
		}
		
		private System.String _title = string.Empty;
		/// <summary>
		/// 投诉主题
		/// </summary>
		[Column("Title",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Title
		{
			get {return _title;}
			set {_title = value;}
		}
		
		private System.String _content = string.Empty;
		/// <summary>
		/// 投诉内容
		/// </summary>
		[Column("Content",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Content
		{
			get {return _content;}
			set {_content = value;}
		}
		
		private System.String _firstReceiver = string.Empty;
		/// <summary>
		/// 首问接待人
		/// </summary>
		[Column("FirstReceiver",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String FirstReceiver
		{
			get {return _firstReceiver;}
			set {_firstReceiver = value;}
		}
		
		private DateTime? _dateAndTime = null;
		/// <summary>
		/// 投诉时间
		/// </summary>
		[Column("DateAndTime",TypeName="datetime")]
		public DateTime? DateAndTime
		{
			get {return _dateAndTime;}
			set {_dateAndTime = value;}
		}
		
		private int? _exigenceLevel = 0;
		/// <summary>
		/// 紧急程度
		/// </summary>
		[Column("ExigenceLevel",TypeName="int")]
		public int? ExigenceLevel
		{
			get {return _exigenceLevel;}
			set {_exigenceLevel = value;}
		}
		
		private System.String _process = string.Empty;
		/// <summary>
		/// 处理过程
		/// </summary>
		[Column("Process",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Process
		{
			get {return _process;}
			set {_process = value;}
		}
		
		private System.String _processor = string.Empty;
		/// <summary>
		/// 处理人
		/// </summary>
		[Column("Processor",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Processor
		{
			get {return _processor;}
			set {_processor = value;}
		}
		
		private System.String _result = string.Empty;
		/// <summary>
		/// 处理结果
		/// </summary>
		[Column("Result",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Result
		{
			get {return _result;}
			set {_result = value;}
		}
		
		private DateTime? _endTime = null;
		/// <summary>
		/// 处理结束时间
		/// </summary>
		[Column("EndTime",TypeName="datetime")]
		public DateTime? EndTime
		{
			get {return _endTime;}
			set {_endTime = value;}
		}
		
		private System.String _feedback = string.Empty;
		/// <summary>
		/// 客户反馈
		/// </summary>
		[Column("Feedback",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Feedback
		{
			get {return _feedback;}
			set {_feedback = value;}
		}
		
		private DateTime? _confirmTime = null;
		/// <summary>
		/// 回访时间
		/// </summary>
		[Column("ConfirmTime",TypeName="datetime")]
		public DateTime? ConfirmTime
		{
			get {return _confirmTime;}
			set {_confirmTime = value;}
		}
		
		private System.String _confirmCaller = string.Empty;
		/// <summary>
		/// 回访人
		/// </summary>
		[Column("ConfirmCaller",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ConfirmCaller
		{
			get {return _confirmCaller;}
			set {_confirmCaller = value;}
		}
		
		private int? _confirmScore = 0;
		/// <summary>
		/// 客户评定服务星级
		/// </summary>
		[Column("ConfirmScore",TypeName="int")]
		public int? ConfirmScore
		{
			get {return _confirmScore;}
			set {_confirmScore = value;}
		}
		
		private System.String _confirmFeedback = string.Empty;
		/// <summary>
		/// 客户评定反馈
		/// </summary>
		[Column("ConfirmFeedback",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ConfirmFeedback
		{
			get {return _confirmFeedback;}
			set {_confirmFeedback = value;}
		}
		
		private int? _status = 0;
		/// <summary>
		/// 记录状态，0为未处理，1为处理中，2为已处理，3为已回访
		/// </summary>
		[Column("Status",TypeName="int")]
		public int? Status
		{
			get {return _status;}
			set {_status = value;}
		}
		
		private System.String _currentOwner = string.Empty;
		/// <summary>
		/// 当前责任人
		/// </summary>
		[Column("CurrentOwner",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String CurrentOwner
		{
			get {return _currentOwner;}
			set {_currentOwner = value;}
		}
		
		private System.String _remark = string.Empty;
		/// <summary>
		/// 备注
		/// </summary>
		[Column("Remark",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
		
		private System.String _defendant = string.Empty;
		/// <summary>
		/// 被投诉人
		/// </summary>
		[Column("Defendant",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Defendant
		{
			get {return _defendant;}
			set {_defendant = value;}
		}
		
		#endregion
	}
}
